<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="spaw730nav">
	<p class="sHB00 fl">Ta的提问</p>
</div>
<c:choose>
	<c:when test="${not empty page.items}">
	<table class="spalisttable martop10" cellspacing="0" cellpadding="0" border="0">
	<tbody>
		<tr valign="middle" align="center">
			<th width="15%">分类</th>
			<th width="40%">标题</th>
			<th width="15%">关注/回答数</th>
			<th width="15%">状态</th>
			<th width="15%">提问时间</th>
		</tr>
		<c:forEach var="question" items="${page.items}" varStatus="entryStatus">
		<tr valign="middle" align="center">
			<td align="left">
				<p>
				<a target="_blank" href="<c:url value='/question/list.do?segid=${question.type}'/>">
				<c:out value="${question.typeName}"/>
				</a>
				</p>
			</td>
			<td align="left">
				<a target="_blank" href="<c:url value='/question/view.do?questionid=${question.questionid}'/>">
					<c:out value="${question.content15}"/>
				</a>
			</td>
			<td class="s666">
				<c:out value="${question.clickAmount}"/>/<c:out value="${question.answerAmount}"/>
			</td>
			<td class="sf00">
				<c:choose>
					<c:when test="${question.terminal == QUESTION_TERMINAL_YES}">
						<img src="${ctx}/images/i/right.jpg"></img>
					</c:when>
					<c:otherwise>
						<img src="${ctx}/images/i/close.jpg"></img>
					</c:otherwise>
				</c:choose>
			</td>
			<td><fmt:formatDate value="${question.createTime}" pattern="yyyy-MM-dd HH:SS"/></td>
		</tr>
		</c:forEach>
	</tbody>
	</table>
	<div class="pagediv martop10 tc">
		<%@ include file="/WEB-INF/content/html/footerprint/question_pager.jsp"%>
	</div>
	</c:when>
	<c:otherwise>
		您暂时没有提问
	</c:otherwise>
</c:choose>
